getGadget

abstract fun getGadget(): Gadget

Gets the Gadget definition if this file represents a RevelDigital gadget.

This method is only applicable and will typically only return a non-null value if the getMimeType is "application/x-reveldigital-gadget". A RevelDigital gadget is a specialized HTML-based application that can be displayed by the player.

Return

The Gadget object if this file is a gadget definition, otherwise null.

See also

// Ensure Gadget interface/class is also well-documented